package us.codecraft.webmagic.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import us.codecraft.webmagic.bean.HuxiuArticle;

/**
 * @Author : xuaoping
 * @Date: 2021/7/7
 */
@Mapper
public interface HuxiuArticleDao {
    @Insert("insert into huxiu_article(title,url) values (#{title},#{url})")
    int insert(HuxiuArticle article);
}
